package edu.ynu.se.xiecheng.achitectureclass.controller;

import edu.ynu.se.xiecheng.achitectureclass.common.controller.LogicController;
import edu.ynu.se.xiecheng.achitectureclass.dao.OorderDao;
import edu.ynu.se.xiecheng.achitectureclass.entity.Oorder;
import edu.ynu.se.xiecheng.achitectureclass.service.OorderService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "Oorder实体的控制器")
@RestController
@RequestMapping("/oorder")
public class OorderController extends LogicController<OorderService, OorderDao,Oorder,Long> {
    public OorderController(@Autowired OorderService os){
        super(os);
    }

}
